package service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import dao.ActionTypeDao;
import dao.NoteDao;
import dao.NoteTypeDao;
import entity.ActionType;
import entity.Comment;
import entity.Note;
import entity.NoteType;
import service.ActionTypeService;
import service.NoteService;
import service.NoteTypeService;
@Service("actionTypeService")
public class ActionTypeServiceImpl implements ActionTypeService {
@Resource
private ActionTypeDao actionTypeDao;

@Override
public ActionType getActionTypeByActionId(int actionId) {
	// TODO Auto-generated method stub
	return actionTypeDao.getActionTypeById(actionId);
}

@Override
public List<ActionType> selectAllActionType() {
	// TODO Auto-generated method stub
	return actionTypeDao.selectAllActions();
}




}
